module.exports = {
  value: {
    type: [String, Number],
    default: '',
    name: '输入值',
    filedType: 'value'
  },

  label: {
    type: String,
    default: '',
    name: '输入框左侧文本',
    filedType: 'string'
  },

  texttype: {
    type: String,
    default: 'text',
    name: 'input类型',
    nameTip: 'text textarea tel digit number textarea password等',
    filedType: 'string'
  },

  maxlength: {
    type: String,
    default: '30',
    name: '最大输入长度',
    filedType: 'string'
  },

  showWordLimit: {
    type: Boolean,
    default: false,
    name: '是否显示输入字数统计',
    filedType: 'switch'
  },

  clearable: {
    type: Boolean,
    default: false,
    name: '是否可清空',
    filedType: 'switch'
  },
  centers: {
    type: Boolean,
    default: false,
    name: '内容垂直居中',
    filedType: 'switch'
  },

  border: {
    type: Boolean,
    default: true,
    name: '是否显示内边框',
    filedType: 'switch'
  },
  required: {
    type: Boolean,
    default: false,
    name: '显示表单必填',
    filedType: 'switch'
  },

  placeholder: {
    type: String,
    default: '请输入内容',
    name: '占位文本',
    filedType: 'string'
  },
  prependval: {
    type: String,
    default: '',
    name: '输入框前置内容',
    filedType: 'string'
  },
  appendval: {
    type: String,
    default: '',
    name: '输入框后置内容',
    filedType: 'string'
  },
  prefixcls: {
    type: String,
    default: '',
    name: '输入框头部图标样式',
    filedType: 'string'
  },
  suffixcls: {
    type: String,
    default: '',
    name: '输入框尾部图标样式',
    filedType: 'string'
  },
  inputalign: {
    type: String,
    default: 'left',
    name: '输入框对齐方式',
    filedType: 'select',
    options: [
      {
        name: 'left',
        value: 'left'
      },
      {
        name: 'center',
        value: 'center'
      },
      {
        name: 'right',
        value: 'right'
      }
    ]
  },
  labelalign: {
    type: String,
    default: 'left',
    name: '输入框对齐方式',
    filedType: 'select',
    options: [
      {
        name: 'left',
        value: 'left'
      },
      {
        name: 'center',
        value: 'center'
      },
      {
        name: 'right',
        value: 'right'
      }
    ]
  },
  labelwidth: {
    type: String,
    default: '6.2em',
    name: '左侧文本宽度',
    filedType: 'string'
  },

  autofocus: {
    type: Boolean,
    default: false,
    name: '自动获取焦点',
    filedType: 'switch'
  },
  disabled: {
    type: Boolean,
    default: false,
    name: '禁用',
    filedType: 'switch'
  },

  color: {
    type: String,
    default: '#333',
    name: '文本颜色',
    filedType: 'color'
  },

  bgColor: {
    type: String,
    default: '#ffffff',
    name: '背景色',
    filedType: 'color'
  },

  borderColor: {
    type: String,
    default: '#e4e7ed',
    name: '边框色',
    filedType: 'color'
  },

  focusBorderColor: {
    type: String,
    default: '#409EFF',
    name: '聚焦边框色',
    filedType: 'color'
  },

  autosize: {
    type: [Boolean, Object],
    default: false,
    name: 'textarea自适应内容高度',
    filedType: 'switch'
  },

  rows: {
    type: String,
    default: '2',
    name: 'textarea输入框行数',
    filedType: 'string'
  },

  colon: {
    type: Boolean,
    default: false,
    name: 'label后面添加冒号',
    filedType: 'switch'
  },
}
